package com.rslai.base.tool.servertest.model;

import org.dbunit.operation.DatabaseOperation;

public enum Operation {
    INSERT(DatabaseOperation.INSERT),

    UPDATE(DatabaseOperation.UPDATE),

    DELETE(DatabaseOperation.DELETE),

    DELETE_ALL(DatabaseOperation.DELETE_ALL),

    REFRESH(DatabaseOperation.REFRESH),

    CLEAR_INSERT(DatabaseOperation.CLEAN_INSERT),

    TRUNCATE_TABLE(DatabaseOperation.TRUNCATE_TABLE);

    private DatabaseOperation databaseOperation;

    private Operation(DatabaseOperation databaseOperation) {
        this.databaseOperation = databaseOperation;
    }

    public DatabaseOperation valueOf() {
        return this.databaseOperation;
    }
}
